/*
 * Copyright (c) 2008 by 1eEurope (Switzerland) AG, Thalwil
 *
 * Customer:	1eEurope (Switzerland) AG
 * Project:		BKS
 * Created:		30.09.2008, WBL
 *
*/

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;

namespace By1eEurope.BKS.UserControlZone
{
    public class CQWPZoneField : SPFieldMultiLineText
    {
        public CQWPZoneField(SPFieldCollection fields, string fieldName)
            : base(fields, fieldName)
        { }

        public CQWPZoneField(SPFieldCollection fields,
                           string typeName,
                           string displayName)
            : base(fields, typeName, displayName)
        { }
        
        public override BaseFieldControl FieldRenderingControl
        {
            get
            {
                BaseFieldControl fldControl = new CQWPZoneControl();
                fldControl.FieldName = InternalName;
                return fldControl;
            }
        }

    }
}
